How The Three-Stage Dynamic Dws And Sorting Work